package com.dh.edu.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

/**
 * 服务API
 *
 * @Date Created in 2022/8/16 14:10
 */
@FeignClient("spring-cloud-gray-provider")
public interface IndexApi {
    @GetMapping("/index")
    Map<String, Object> index();
}
